export function contain(boxX, boxY, boxWidth, boxHeight, goalX, goalY) {
    if (goalX >= boxX && goalX <= boxX + boxWidth && goalY >= boxY && goalY <= boxY + boxHeight) {
        return true;
    }
    return false;
}